//
//  YFCheckNetworkStatus.h
//  SquashSpark
//
//  Created by Coollang on 2017/11/14.
//  Copyright © 2017年 Coollang-YF. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AFNetworking/AFNetworking.h>

extern NSString * const NetworkStatusChangedNotification;

@interface YFCheckNetworkStatus : NSObject

+ (instancetype)shareInstance;
@property (nonatomic, assign)AFNetworkReachabilityStatus networkStatus;

// 是否有网络
+ (BOOL)isReachable;
// 蜂巢网络
+ (BOOL)isViaWWAN;
// WiFi
+ (BOOL)isWiFi;

@end
